<div class="ibox no-margins no-padding no-borders">
    <div class="ibox-content">
        <div class="row">
            <div class="form-group col-md-4">
                <label>所属系统(<b class="text-danger">*</b>):</label>
                <input type="text" class="form-control required" th:value="${sysSystem.systemName}" readonly>
            </div>
            <div class="form-group col-md-4">
                <label>所属角色(<b class="text-danger">*</b>):</label>
                <input type="text" class="form-control required" th:value="${sysGroup.groupName}" readonly>
            </div>
            <div class="form-group col-md-4">
                <label>父资源(<b class="text-danger">*</b>):</label>
                <input type="text" class="form-control required" th:value="${nick}" readonly>
            </div>
        </div>
        <div class="hr-line-dashed"></div>
        <div class="row">
            <div class="form-group col-md-6">
                <label>登录账户(<b class="text-danger">*</b>):</label>
                <input name="loginName" type="text" class="form-control required" maxlength="32" th:value="${entity.loginName}" readonly>
            </div>
            <div class="form-group col-md-6">
                <label>账户昵称(<b class="text-danger">*</b>):</label>
                <input name="userNick" type="text" class="form-control required" maxlength="32" th:value="${entity.userNick}" readonly>
            </div>
        </div>
        <div class="row">
            <div class="form-group col-md-6">
                <label>手机号码(<b class="text-danger">*</b>):</label>
                <input name="userPhone" type="text" class="form-control required" maxlength="11" th:value="${entity.userPhone}" readonly>
            </div>
            <div class="form-group col-md-6">
                <label>用户邮箱:</label>
                <input name="userEmail" type="text" class="form-control required" maxlength="32" th:value="${entity.userEmail}" readonly>
            </div>
        </div>
        <div class="hr-line-dashed"></div>
        <div class="row">
            <div class="form-group col-md-6">
                <label>关联代理商信息(<b class="text-danger">*</b>):</label>
                <input name="mappingId" type="text" class="form-control" maxlength="32"
                       th:value="${entity.mappingId}" readonly>
            </div>
            <div class="form-group col-md-6">
                <label>关联合作商(<b class="text-danger">*</b>):</label>
                <input name="mappingSpId" type="text" class="form-control" maxlength="32"
                       th:value="${entity.mappingSpId}" readonly>
            </div>
            <div class="form-group col-md-6">
                <label>关联通道(<b class="text-danger">*</b>):</label>
                <input name="mappingChannelId" type="text" class="form-control" maxlength="32"
                       th:value="${entity.mappingChannelId}" readonly>
            </div>
        </div>
        <div class="row">
            <div class="form-group col-md-6">
                <label>最后登录IP(<b class="text-danger">*</b>):</label>
                <input name="keyCode" type="text" class="form-control" maxlength="32" th:value="${entity.lastIp}" readonly>
            </div>
            <div class="form-group col-md-6">
                <label>权限类型(<b class="text-danger">*</b>):</label>
                <input name="keyCode" type="text" class="form-control" maxlength="32" th:value="${entity.limitType}" readonly>
            </div>
            <div class="form-group col-md-6">
                <label>创建时间(<b class="text-danger">*</b>):</label>
                <input name="keyCode" type="text" class="form-control" maxlength="32" th:value="${@lj.date(entity.createTime)}" readonly>
            </div>
            <div class="form-group col-md-6">
                <label>更新时间(<b class="text-danger">*</b>):</label>
                <input name="keyCode" type="text" class="form-control" maxlength="32" th:value="${@lj.date(entity.modifyTime)}" readonly>
            </div>
        </div>
        <div class="row">
            <div class="form-group col-md-12">
                <label>二维码链接地址(<b class="text-danger">*</b>):</label>
                <input type="text" class="form-control required" th:value="${getQRBarcodeURL}" readonly>
                <div id="qrcode" style="text-align: left;" class="m-t m-l"></div>
            </div>
        </div>
    </div>
</div>
</form>
<script src="/static/papper/js/jquery.qrcode.min.js"></script>
<script type="text/javascript" th:inline="javascript">
    /*<![CDATA[*/
    jQuery(function ($) {
        jQuery('#qrcode').qrcode({
            render: "canvas",
            width: 200,
            height: 200,
            text: '[[${getQRBarcodeURL}]]'
        });
    });
    /*]]>*/
</script>